// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'InventoryCountId',
        footer: "Foots",
        cnName: '盘点单实体',
        name: 'InventoryCount',
        url: "/InventoryCount/",
        sortName: "InventoryCountId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'InventoryCountId',title:'盘点单主键 ',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'CountCode',title:'盘点单号',type:'string',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'CountType',title:'盘点类型',type:'string',width:110,align:'left',sort:true},
                       {field:'StartTime',title:'盘点开始时间',type:'datetime',width:150,align:'left',sort:true},
                       {field:'EndTime',title:'盘点结束时间',type:'datetime',width:150,align:'left',sort:true},
                       {field:'WarehouseId',title:'关联仓库表主键',type:'bigint',width:110,hidden:true,readonly:true,align:'left'},
                       {field:'CreatorId',title:'关联制单人用户表主键',type:'int',width:110,hidden:true,readonly:true,align:'left'},
                       {field:'HandlerId',title:'关联经办人用户表主键',type:'int',width:110,hidden:true,readonly:true,align:'left'},
                       {field:'Department',title:'所在部门',type:'string',width:120,align:'left'},
                       {field:'CreateTime',title:'制单时间',type:'datetime',width:150,align:'left',sort:true},
                       {field:'CountStatus',title:'盘点状态',type:'string',width:110,align:'left'},
                       {field:'OutStatus',title:'出库状态',type:'string',width:110,align:'left'},
                       {field:'InStatus',title:'入库状态',type:'string',width:110,align:'left'},
                       {field:'Remark',title:'备注',type:'string',width:220,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}